package com.achao.backstagemanage.dao;

import com.achao.basecommon.entity.MusicCollectDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 描述：收藏夹-mapper层
 *
 * @Author：yangchao
 * @CreateDate：2023/2/1 21:25
 */
@Repository
@Mapper
public interface MusicCollectDao extends BaseMapper<MusicCollectDO> {

    @Select("SELECT * FROM MUSIC_COLLECT")
    public List<MusicCollectDO> queryAllCollects();
}
